package cn.pn.project.client.schedule.follback;

import cn.pn.project.client.schedule.RestSeatClient;
import cn.pn.project.pojo.schedule.Seat;
import org.springframework.stereotype.Component;

import java.sql.SQLException;
import java.util.List;

@Component
public class SeatFallBack implements RestSeatClient {

    /**
     * 根据场地id查询座位信息
     * @param placeId
     * @return
     * @throws SQLException
     */
    @Override
    public List<Seat> getSeatByPlaceId(Integer placeId) throws SQLException {
        return null;
    }

    /**
     * 根据座位id查询座位信息，多个座位id用，隔开
     * @param seatId
     * @return
     * @throws SQLException
     */
    @Override
    public List<Seat> getAllSeatInfo(String seatId) throws SQLException {
        System.out.println("seatId为空了");
        return null;
    }
}
